package com.yonyougov.devops.cruxcisupport.subscribe;

import com.yonyougov.devops.cruxcisupport.app.AppEntity;
import com.yonyougov.devops.cruxcisupport.user.UserEntity;
import com.yonyougov.devops.fwc.core.entity.BasicEntity;
import lombok.Data;

import java.io.Serializable;
import java.math.BigInteger;
import java.util.Date;

/***
 * t_subscribe
 */
@Data
public class SubscribeEntity extends BasicEntity implements Serializable {

    /***
     * 主键
     */
    private BigInteger id;

    /***
     * 订阅用户Id
     */
    private BigInteger userId;

    /***
     * 应用Id
     */
    private BigInteger appId;

    /***
     * 订阅时间
     */
    private Date createTime;


    //<!--用户自定义代码开始-->
    /**
     * 用户
     */
    private UserEntity user;

    /**
     * 应用
     */
    private AppEntity app;
    //<!--用户自定义代码结束-->
}
